package com.training1.core.entity;

import org.apache.ibatis.type.Alias;

import com.training1.core.common.entity.DataEntity;

@Alias("userRole")
public class UserRoleEntity extends DataEntity{
	
	private static final long serialVersionUID = -348179059019539374L;
	
	private Integer roleId;//角色id
	private Integer userId;//用户id
	
	private String isValid;//有效状态

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getIsValid() {
		return isValid;
	}

	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}
	

}
